#ifndef WINDOW_H_
#define WINDOW_H_

#include "widgets/Container.h"
#include "../common/Constantes.h"

class Window: public Container {

public:

	Window(WindowID type);

	void add(Widget* widget);

	virtual void handleEvent(Event event);

	virtual void resolve();

	virtual void showOn(SDL_Surface* surface);

	virtual ~Window();

	WindowID getWindowType();

	Container* getScenarioContainer();

	void setScenarioContainer(Container* container);

private:
	WindowID type;

	Container* container;
};

#endif /* WINDOW_H_ */
